<template>
	<view class="content">
		<view class="text-content f-col">
			<text class="text-title">每日打卡签到</text>
			<text>啊啊啊啊啊</text>
			<text style="margin-top: 25rpx;">啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</text>
		</view>
		<view class="text-content f-col m-top-20">
			<view class="f-row">
				<image class="image-rule" src="http://sni1muz85.hd-bkt.clouddn.com/img/icons/icon1.png"></image>
				打卡规则
			</view>
			<text class="text-rule">啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</text>
		</view>
		<view class="text-content f-col m-top-20">
			<view>打卡完成情况 (0/12)</view>
			<view class="name-view f-wrap">
				<view class="name-item" v-for="item of 11" :key="item">啊啊啊</view>
			</view>
		</view>
		<view class="text-content m-top-20">
			<view class="sign-btn" @click="onClickSign">立即打卡</view>
		</view>
		<sign-template-bottom-cpnt></sign-template-bottom-cpnt>
	</view>
</template>

<script>
	import SignTemplateBottomCpnt from '../../components/signTemplateBottomCpnt.vue';
export default {
	data() {
		return {
		};
	},
	components: {
		SignTemplateBottomCpnt
	},
	onLoad(item) {
		
	},

	methods: {
		onClickSign() {
			uni.navigateTo({
				url: "/myPage/sign/signInput"
			})
		}
	},
};
</script>

<style lang="less" scoped>
@import "@/static/css/app.less";

.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	.text-content{
		position: relative;
		width: 750rpx;
		background: #fff;
		padding: 25rpx;
		font-size: 26rpx;
		color: #242424;
	}
	.text-title{
		margin-top: 120rpx;
		margin-bottom: 50rpx;
		font-size: 46rpx;
		font-weight: 600;
	}
	.image-rule{
		margin-right: 20rpx;
		width: 38rpx;
		height: 38rpx;
	}
	.text-rule{
		margin-top: 30rpx;
		color: #909090;
		font-size: 22rpx;
	}
	.name-view{
		margin-top: 40rpx;
		margin-bottom: 20rpx;
		width: 720rpx;
		height: auto;
		.name-item{
			width: 100rpx;
			height: 70rpx;
			line-height: 70rpx;
			background: #f7f8fa;
			border-radius: 8rpx;
			color: #97989a;
			font-size: 20rpx;
			text-align: center;
			margin-right: 20rpx;
			margin-bottom: 20rpx;
		}
	}
	.sign-btn{
		background: rgb(251, 153, 4);
		width: 700rpx;
		height: 80rpx;
		line-height: 80rpx;
		color: rgb(254, 254, 244);
		text-align: center;
		border-radius: 10rpx;
	}
	.m-top-20{
		margin-top: 20rpx;
	}
}
</style>